export async function onRequestGet(context) {
  const healthData = {
    status: 'healthy',
    timestamp: new Date().toISOString(),
    uptime: 'continuous',
    version: '1.0.0',
    environment: 'production',
    services: {
      'game-server': 'operational',
      'static-assets': 'operational',
      'api': 'operational'
    }
  };

  return new Response(JSON.stringify(healthData), {
    headers: {
      'Content-Type': 'application/json; charset=utf-8',
      'Access-Control-Allow-Origin': '*',
      'Access-Control-Allow-Methods': 'GET',
      'Access-Control-Allow-Headers': 'Content-Type',
      'Cache-Control': 'no-cache'
    }
  });
}